projects
/
git-annex.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
1d48153
)
remove unncessary do block
author
Joey Hess
<joeyh@joeyh.name>
Mon, 26 Sep 2022 17:10:25 +0000
(13:10 -0400)
committer
Joey Hess
<joeyh@joeyh.name>
Mon, 26 Sep 2022 17:10:25 +0000
(13:10 -0400)
Left by Reiko's patch
Annex/Perms.hs
patch
|
blob
|
history
diff --git
a/Annex/Perms.hs
b/Annex/Perms.hs
index 69e344452a8567940edb2a2877a1a045f11fb66e..e6ed48a4d05454bd18a90e445a13e905a6b05241 100644
(file)
--- a/
Annex/Perms.hs
+++ b/
Annex/Perms.hs
@@
-287,9
+287,8
@@
createContentDir dest = do
unlessM (liftIO $ R.doesPathExist dir) $
createAnnexDirectory dir
-- might have already existed with restricted perms
- do
- thawHook dir
- unlessM crippledFileSystem $ liftIO $ allowWrite dir
+ thawHook dir
+ unlessM crippledFileSystem $ liftIO $ allowWrite dir
where
dir = parentDir dest